//
//  HDImageMenuView.h
//  SocietySale
//
//  Created by yumingwei on 2016/11/6.
//  Copyright © 2016年 Mike. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HDImageMenuViewDelegate <NSObject>
- (void)selectImageMenuIndex:(int)index;
@end

@interface HDImageMenuView : UIView
@property(nonatomic,assign)int selectedIndex;
@property(nonatomic,weak)id<HDImageMenuViewDelegate> delegate;
@property (nonatomic, strong)UIColor *selectedColor;
@property (nonatomic, strong)UIColor *normalColor;
@property (nonatomic, strong)UIFont  *font;
@property (nonatomic, strong)UIFont  *selectedFont;
@property (nonatomic, assign)BOOL isHiddenBottomLine;
@property(nonatomic,copy)NSArray *titleArray;
- (id)initWithFrame:(CGRect)frame titleArray:(NSArray *)titleArray;
- (void)setBtnStateWithIndex:(NSInteger)index state:(BOOL)state;
- (void)setBtnTitleColorWithIndex:(NSInteger)index state:(BOOL)state;
@end
